//
//  SaleExecuteCell.m
//  TrunkIndustryManageSystem
//
//  Created by WT_lyy on 15/4/22.
//  Copyright (c) 2015年 李璐西. All rights reserved.
//

#import "SaleExecuteCell.h"

@implementation SaleExecuteCell

- (void)awakeFromNib {
    // Initialization code
}


- (void)setAddheitht:(NSString *)addTxt{

    float height = [GT_Tool heightForString:addTxt fontSize:14 andWidth:MAIN_SCREEN_WIDTH-150];
    float orY = self.labaddress.frame.origin.y;
//    if (height > 30) {
//       orY  = self.labaddress.frame.origin.y;
//    }else{
//        orY = self.labaddress.frame.origin.y;
//    }
//    
    self.labaddress.frame =CGRectMake(self.labaddress.frame.origin.x, orY, self.labaddress.frame.size.width, height);
}

@end
